package com.ruoyi.faceplus.task;

import com.ruoyi.faceplus.face.FaceServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class FacePlusTask {

    public final static long ONE_Minute = 5 * 1000;

    @Autowired
    private FaceServer faceServer;

    /**
     * 引擎检测
     */
    //@Scheduled(fixedDelay = ONE_Minute)
    public void checkEngines() {
        faceServer.checkEngines();
    }
}
